package com.hntest.service.impl;

import com.hntest.dao.SystemDictionaryItemDao;
import com.hntest.entity.SystemDictionaryItem;
import com.hntest.service.SystemDictionaryItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("SystemDictionaryItemService")
public class SystemDictionaryItemServiceImpl implements SystemDictionaryItemService {

    @Autowired
    private SystemDictionaryItemDao systemDictionaryItemDao;


    @Override
    public List<SystemDictionaryItem> selectByParentId(int id) {
        return systemDictionaryItemDao.selectByParentId(id);
    }
}
